package cn.hxsteel.storage.core.base;

import javax.servlet.http.HttpServletRequest;

import cn.hxsteel.purview.core.tool.SessionTool;
import cn.hxsteel.purview.model.vo.SessionVO;
import cn.hxsteel.storage.model.po.CustomerPO;

/**
 * 基础的控制器
 */
public class BaseController extends cn.hxsteel.purview.core.base.BaseController
{
    /**
     * 获取当前用户会话的值对象
     * 
     * @return
     */
    protected SessionVO< CustomerPO > getUserSessionVO( HttpServletRequest request )
    {
	return SessionTool.getSessionVO( CustomerPO.class, request );
    }
}